package com.lwq.springbootdruid.dao;

import com.lwq.springbootdruid.entity.MyLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author liwq
 * @description
 * @date 2021/7/15 9:19
 */
@Mapper
public interface MyLogDao {
    @Insert("insert into my_log(user_name,ip,description,params,type,exception_detail,browser,method,time,create_time)values(#{userName},#{ip},#{description},#{params},#{type},#{exceptionDetail},#{browser},#{method},#{time},now())")
    int save(MyLog mylog);
}
